package com.erp.user.service;

import com.erp.user.entity.UserRoles;
import com.erp.common.response.ListVo;
import com.erp.user.request.*;
import com.erp.user.response.*;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * @author shensong
 * @program machining_system.v1.0.0
 * @description  服务类
 * @date 2022/12/21 10:55:46
 */
public interface UserRolesService extends IService<UserRoles> {

    ListVo<List<UserRolesInfoResp>> index(UserRolesPageReq request);

    Boolean store(UserRolesAddReq request);

    Boolean update(UserRolesUpdateReq request);

    Boolean destroy(UserRolesDeleteReq request);

    Boolean approve(UserRolesApproveReq request);

    Boolean enabled(UserRolesStatusReq request);

    UserRolesInfoResp show(UserRolesInfoReq request);

    UserRolesDetailInfoResp detail(UserRolesInfoReq request);

    List<UserRolesInfoResp> option(UserRolesListReq request);

    List<UserRolesSearchInfoResp> search(UserRolesSearchReq request);

}
